package label.entity;

import blogData.entity.BlogDataVO;
import articleLabel.entity.ArticleLabelVO;

import java.util.HashSet;
import java.util.Set;

/**
 * 文章的分类
 */
public class LabelVO {
    /**
     * 标签的id
     */
    private Integer labelId;
    /**
     *  标签的名称
     */
    private String labelName;
    /**
     * 所属博客
     */
    private BlogDataVO blogDataVO;
    /**
     * 子类 --连接表
     */
    private Set<ArticleLabelVO> articleLabelVOs=new HashSet();

    public Set<ArticleLabelVO> getArticleLabelVOs() {
        return articleLabelVOs;
    }

    public void setArticleLabelVOs(Set<ArticleLabelVO> articleLabelVOs) {
        this.articleLabelVOs = articleLabelVOs;
    }

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }

    public BlogDataVO getBlogDataVO() {
        return blogDataVO;
    }

    public void setBlogDataVO(BlogDataVO blogDataVO) {
        this.blogDataVO = blogDataVO;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
}
